package newsSystem.Order;

import java.util.Date;

public class OrderInfo {
      private int OrderNo;
    private String OrderAmount;
    private String OrderMonth;
    private String OrderPrice;
    private Date OrderDate;
    private String UserID;
    private String AdminID;//部门名称
    private String NewsID;

    // 构造函数
    public OrderInfo(int orderNo, String orderAmount, String orderMonth, String orderPrice, Date orderDate, String userID, String adminID, String newsID) {
        OrderNo = orderNo;
        OrderAmount = orderAmount;
        OrderMonth = orderMonth;
        OrderPrice = orderPrice;
        OrderDate = orderDate;
        UserID = userID;
        AdminID = adminID;
        NewsID=newsID;
    }

    // Getter和Setter方法
    public int getOrderNo() {
        return OrderNo;
    }

    public void setOrderNo(int orderNo) {
        OrderNo = orderNo;
    }

    public String getOrderAmount() {
        return OrderAmount;
    }

    public void setOrderAmount(String orderAmount) {
        OrderAmount = orderAmount;
    }

    public String getOrderMonth() {
        return OrderMonth;
    }

    public void setOrderMonth(String orderMonth) {
        OrderMonth = orderMonth;
    }

    public String getOrderPrice() {
        return OrderPrice;
    }

    public void setOrderPrice(String orderPrice) {
        OrderPrice = orderPrice;
    }

    public Date getOrderDate() {
        return OrderDate;
    }

    public void setOrderDate(Date orderDate) {
        OrderDate = orderDate;
    }

    public String getUserID() {
        return UserID;
    }

    public void setUserID(String userID) {
        UserID = userID;
    }

    public String getAdminID() {
        return AdminID;
    }

    public void setAdminID(String adminID) {
        AdminID = adminID;
    }
    public String getNewsID() {
        return NewsID;
    }

    public void setNewsID(String newsID) {
        NewsID = NewsID;
    }

    // 可以添加其他方法
}